package com.imooc.ad.constant;

import lombok.Getter;

/*
 * @author Qihs
 */
//定义一个枚举型的状态常量
@Getter
public enum CommonStatus {

    VALID(1, "有效状态"),
    INVAID(0, "无效状态");

    private Integer status;
    private String desc;
    CommonStatus(Integer status, String desc){
        this.status = status;
        this.desc = desc;
    }
}
